package com.lhkj.ct.base.utils.file.word.xwpf;

import org.apache.poi.xwpf.usermodel.ParagraphAlignment;
import org.apache.poi.xwpf.usermodel.TextAlignment;

/**
 * @Description 文本样式
 * @Author jobob
 */
@Deprecated
public class TextStyle {

    private String url;            // 超链接

    private String text;           //文本内容

    private String fontFamily = "宋体";        //字体

    private int fontSize = 15;      //字体大小， 默认15

    private String colorVal = "000000";        //字体颜色， 默认黑色

    private String shdColor;        //底纹颜色

    private int position;           //文本位置

    private int spacingValue;       //间距

    private int indent = 0;         //缩进

    private boolean isBlod;         //加粗

    private boolean isUnderLine;    //下划线

    private String underLineColor; //下划线颜色

    private boolean isItalic;       //倾斜

    private boolean isStrike;       //删除线

    private boolean isDStrike;      //双删除线

    private boolean isShadow;       //阴影

    private boolean isVanish;       //隐藏

    private boolean isEmboss;       //阳文

    private boolean isImprint;      //阴文

    private boolean isOutline;      //空心

    private boolean isHightLight;   //突出显示文本

    private boolean isShd;          //底纹

    // 段落的水平对齐方式
    private ParagraphAlignment align = ParagraphAlignment.LEFT;

    // 段落的垂直对齐方式
    private TextAlignment vAlign = TextAlignment.AUTO;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getFontFamily() {
        return fontFamily;
    }

    public void setFontFamily(String fontFamily) {
        this.fontFamily = fontFamily;
    }

    public int getFontSize() {
        return fontSize;
    }

    public void setFontSize(int fontSize) {
        this.fontSize = fontSize;
    }

    public String getColorVal() {
        return colorVal;
    }

    public void setColorVal(String colorVal) {
        this.colorVal = colorVal;
    }

    public String getShdColor() {
        return shdColor;
    }

    public void setShdColor(String shdColor) {
        this.shdColor = shdColor;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getSpacingValue() {
        return spacingValue;
    }

    public void setSpacingValue(int spacingValue) {
        this.spacingValue = spacingValue;
    }

    public int getIndent() {
        return indent;
    }

    public void setIndent(int indent) {
        this.indent = indent;
    }

    public boolean isBlod() {
        return isBlod;
    }

    public void setBlod(boolean blod) {
        isBlod = blod;
    }

    public boolean isUnderLine() {
        return isUnderLine;
    }

    public void setUnderLine(boolean underLine) {
        isUnderLine = underLine;
    }

    public String getUnderLineColor() {
        return underLineColor;
    }

    public void setUnderLineColor(String underLineColor) {
        this.underLineColor = underLineColor;
    }

    public boolean isItalic() {
        return isItalic;
    }

    public void setItalic(boolean italic) {
        isItalic = italic;
    }

    public boolean isStrike() {
        return isStrike;
    }

    public void setStrike(boolean strike) {
        isStrike = strike;
    }

    public boolean isDStrike() {
        return isDStrike;
    }

    public void setDStrike(boolean DStrike) {
        isDStrike = DStrike;
    }

    public boolean isShadow() {
        return isShadow;
    }

    public void setShadow(boolean shadow) {
        isShadow = shadow;
    }

    public boolean isVanish() {
        return isVanish;
    }

    public void setVanish(boolean vanish) {
        isVanish = vanish;
    }

    public boolean isEmboss() {
        return isEmboss;
    }

    public void setEmboss(boolean emboss) {
        isEmboss = emboss;
    }

    public boolean isImprint() {
        return isImprint;
    }

    public void setImprint(boolean imprint) {
        isImprint = imprint;
    }

    public boolean isOutline() {
        return isOutline;
    }

    public void setOutline(boolean outline) {
        isOutline = outline;
    }

    public boolean isHightLight() {
        return isHightLight;
    }

    public void setHightLight(boolean hightLight) {
        isHightLight = hightLight;
    }

    public boolean isShd() {
        return isShd;
    }

    public void setShd(boolean shd) {
        isShd = shd;
    }

    public ParagraphAlignment getAlign() {
        return align;
    }

    public void setAlign(ParagraphAlignment align) {
        this.align = align;
    }

    public TextAlignment getvAlign() {
        return vAlign;
    }

    public void setvAlign(TextAlignment vAlign) {
        this.vAlign = vAlign;
    }
}
